import { getCityListApi } from "../../utils/api";

export default {
  // 请求城市列表接口
  async getCityListAsync({ commit }) {
    const res = await getCityListApi();
    if (res.status === 0) {
      commit("getCityList", res.result);
    }
  },
};
